home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
wasm223.zip
/
CLONE.DOC
< prev
next >
Wrap
Text File
|
1993-05-04
|
8KB
|
182 lines
Clone
A Disk Duplication Utility
by
Eric Tauck
1304 Deerpass Road
Marengo, IL 60152
U.S.A
Compuserve: 72457,1557
Internet: 72457.1557@compuserve.com
Clone performs the same function as DISKCOPY, but with several
improvements. The major features of Clone are duplicating high
capacity disks in a single drive without disk swapping, and
writing multiple target disks without rereading the source disk.
Other features include extra control over formatting, a
read/write/format progress indicator, and the ability to break
out of a duplication.
Clone requires a PC/XT/AT compatible and DOS 3.0 or higher. For
reading high capacity disks (anything larger than a regular 360K
disk), Clone needs a hard disk or large RAM disk to store the
portion of the source disk image that won't fit in memory.
Clone may be freely used and distributed. The most recent ver-
sion of the Clone, including the Turbo C++ source code, may be
acquired on 5.25" or 3.5" disk by sending $20 to the address
above. The source code is for personal use and may not be dis-
tributed.
Clone syntax:
CLONE X: [Y:] [options]
X: The source drive (i.e. the drive to read from).
Y: The target drive (i.e. the drive to write to). If the
target drive is absent, it is assumed to be the same as the
source drive.
The options may be specified on the command line or in the envi-
ronment using the environment variable CLONE or CLONE_ET (use
CLONE_ET if CLONE is already being used). Options that are used
all the time (like image file definitions) should be stored in
the environment, usually with a SET statement in the AUTOEXEC.BAT
file. Options on the command line override options in the envi-
ronment.
Clone options:
/C Produce indefinite copies. Clone will continue producing
copies until ESC is pressed at the insert-target-disk
prompt.
/Cx Produce x number of copies. Clone will create a specific
number of copies. The default copy setting is /C1.
/Ex Allow x errors when reading the source disk. This option
sets the maximum number of unreadable tracks on the
source disk. If too many unreadable tracks are encoun-
tered, the copy operation is aborted. The default is /E0
(no bad tracks allowed).
/F Format target disk if necessary. Clone will attempt to
determine if the target disk is unformatted and then
format it if necessary. This is the default format
setting.
/F+ Always format the target disk.
/F- Never format the target disk. Clone will display an
error if an unformatted disk is used as a target disk.
/Ix Define the image file x. Image files are used to store
the portion the source disk that doesn't fit in memory.
Multiple image files may be listed. The image files are
used sequentially as the disk that they're on becomes
full, so if you have a RAM disk, list it before your hard
disk. Only a drive and/or directory is needed (in this
case, the file CLONE.$$$ is used). If no file is listed,
the drive and/or directory must end with a colon (:) or
back-slash (\). Clone deletes image files when it termi-
nates.
/PS+ Prompt for source disk. Clone will display a message
asking that the source disk be inserted and wait for a
key to be pressed. If ESC is pressed, Clone will termi-
nate. This option is the default.
/PS- Don't prompt for source disk. Clone will start reading
from the source drive immediately.
/PT+ Prompt for target disk. Clone will display a message
asking that the target disk be inserted and wait for a
key to be pressed. If ESC is pressed, Clone will termi-
nate. This option is the default.
/PT- Don't prompt for target disk. Clone will start writing
to the target drive as soon as the source disk has been
fully read. This option will only work if the source and
target drives are different AND only a single copy is
being made (/C1).
/Q+ Quiet mode on. All messages except the initial banner,
source/target disk prompting, and errors will be sup-
pressed.
/Q- Quiet mode off. All messages will be displayed. This
option undoes the effects of /Q+. All messages are
displayed by default.
A summary of these options can be displayed by running:
CLONE ?
Low density disks (360K 5.25" and 720K 3.5" formats) can be
copied but probably not formatted in high density drives. You
may be able to format low density disks in high density drives if
you have a driver to make the high density drive look like a low
density drive (like DRIVER.SYS). Non-removable media (like hard
disks) cannot be copied or formatted.
When you are prompted to insert a source or target disk, you can
press the ESC key to cancel the operation and quit the program.
You can usually press Control-Break at any time to abort the
current operation and quit the program. If you are running in
quiet mode (/Q+), you may not be able to break out of a disk read
or write operation.
On my system, I configure Clone with the following line in my
AUTOEXEC.BAT:
SET CLONE=/IF: /IC: /PS- /E10
This tells Clone to put the first image file on drive F: (my RAM
disk), and if it becomes full, to put the next image file on
drive C: (my hard disk). I also turn source disk prompting off
and allow 10 read errors before aborting. I would duplicate a
3.5" 1.44M disk by inserting the disk in drive B: (my 3.5" drive)
and then running:
CLONE B:
The following is a list of changes made to Clone according to the
version number:
1.00 Initial release.
1.10 /Ex option added. Messages changed: track read error
added, disk parameters mostly removed, and image file list
removed.
1.11 Prompts for new disk if incompatible media (rather than
aborting).
1.20 Displays disk type in a more readable format.
DISCLAIMER OF WARRANTY
THIS SOFTWARE AND MANUAL ARE DISTRIBUTED "AS IS" AND WITHOUT
WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER
WARRANTIES WHETHER EXPRESSED OR IMPLIED. BECAUSE OF THE VARIOUS
HARDWARE AND SOFTWARE ENVIRONMENTS INTO WHICH THIS PROGRAM MAY BE
PUT, NO WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED.
GOOD DATA PROCESSING PROCEDURE DICTATES THAT ANY PROGRAM BE
THOROUGHLY TESTED WITH NON-CRITICAL DATA BEFORE RELYING ON IT.
THE USER MUST ASSUME THE ENTIRE RISK OF USING THE PROGRAM. ANY
LIABILITY OF THE SELLER WILL BE LIMITED EXCLUSIVELY TO PRODUCT
REPLACEMENT OR REFUND OF PURCHASE PRICE.